package com.drinks.yiniang.entity.message;

import com.hansen.library.entity.BaseJson;

import java.util.List;

/**
 * @author han
 * @date 2019/12/13
 */
public class ChatJson extends BaseJson {

    private ChatData data;

    public ChatData getData() {
        return data;
    }

    public void setData(ChatData data) {
        this.data = data;
    }

    public static class ChatData {
        private List<ChatList> data;

        public List<ChatList> getData() {
            return data;
        }

        public void setData(List<ChatList> data) {
            this.data = data;
        }
    }

    public static class ChatList {
        //客服消息字段共用
        private String id;
        //客服消息字段共用
        private String fans_id;
        private String from_fans_id;
        //客服消息字段共用
        private String content;
        private String created_at;
        //类型 1我发送的 2 客服发送的,客服消息字段共用
        private String type;
        //我的头像， 客服消息字段共用
        private String my_avatar;
        //我的名称， 客服消息字段共用
        private String my_username;
        private String adverse_avatar;
        private String adverse_username;
        private String created_time;
        //客服消息字段
        private String service_fans_id;
        private String kefu_id;
        private String kefu_avatar;
        private String kefu_username;
        private String send_time;
        //发送时间戳
        private String send_timestamp;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getFans_id() {
            return fans_id;
        }

        public void setFans_id(String fans_id) {
            this.fans_id = fans_id;
        }

        public String getFrom_fans_id() {
            return from_fans_id;
        }

        public void setFrom_fans_id(String from_fans_id) {
            this.from_fans_id = from_fans_id;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getCreated_at() {
            return created_at;
        }

        public void setCreated_at(String created_at) {
            this.created_at = created_at;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getMy_avatar() {
            return my_avatar;
        }

        public void setMy_avatar(String my_avatar) {
            this.my_avatar = my_avatar;
        }

        public String getMy_username() {
            return my_username;
        }

        public void setMy_username(String my_username) {
            this.my_username = my_username;
        }

        public String getAdverse_avatar() {
            return adverse_avatar;
        }

        public void setAdverse_avatar(String adverse_avatar) {
            this.adverse_avatar = adverse_avatar;
        }

        public String getAdverse_username() {
            return adverse_username;
        }

        public void setAdverse_username(String adverse_username) {
            this.adverse_username = adverse_username;
        }

        public String getCreated_time() {
            return created_time;
        }

        public void setCreated_time(String created_time) {
            this.created_time = created_time;
        }

        public String getService_fans_id() {
            return service_fans_id;
        }

        public void setService_fans_id(String service_fans_id) {
            this.service_fans_id = service_fans_id;
        }

        public String getKefu_id() {
            return kefu_id;
        }

        public void setKefu_id(String kefu_id) {
            this.kefu_id = kefu_id;
        }

        public String getKefu_avatar() {
            return kefu_avatar;
        }

        public void setKefu_avatar(String kefu_avatar) {
            this.kefu_avatar = kefu_avatar;
        }

        public String getKefu_username() {
            return kefu_username;
        }

        public void setKefu_username(String kefu_username) {
            this.kefu_username = kefu_username;
        }

        public String getSend_time() {
            return send_time;
        }

        public void setSend_time(String send_time) {
            this.send_time = send_time;
        }

        public String getSend_timestamp() {
            return send_timestamp;
        }

        public void setSend_timestamp(String send_timestamp) {
            this.send_timestamp = send_timestamp;
        }
    }
}
